package top.hyz.hrm.dto;

import lombok.Data;
import top.hyz.hrm.domain.Course;
import top.hyz.hrm.domain.CourseDetail;
import top.hyz.hrm.domain.CourseMarket;
import top.hyz.hrm.domain.CourseType;

import javax.validation.Valid;

/**
 * @ClassName CourseDto
 * @Description 课程数据传输对象
 * @Author 韩雨泽
 * @Date 2021/1/20-10:58
 * @Version 1.0
 */
@Data
public class CourseDTO {
    /**
     * 课程对象
     */
    @Valid
    private Course course;
    /**
     * 课程简介对象
     */
    @Valid
    private CourseDetail courseDetail;
    /**
     * 课程价格对象
     */
    @Valid
    private CourseMarket courseMarket;
}
